package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 工作学习经历
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_work_experience")
public class UWorkExperience extends Model<UWorkExperience> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 起始年月
     */
	@TableField("start_time")
	private Date startTime;
    /**
     * 截至年月
     */
	@TableField("end_time")
	private Date endTime;
    /**
     * 单位名称
     */
	@TableField("unit_name")
	private String unitName;
    /**
     * 工作部门
     */
	@TableField("dept_name")
	private String deptName;
    /**
     * 备注
     */
	private String remarks;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UWorkExperience{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", startTime=" + startTime +
			", endTime=" + endTime +
			", unitName=" + unitName +
			", deptName=" + deptName +
			", remarks=" + remarks +
			"}";
	}
}
